package com.dom.domweb.modular.service;

import com.dom.common.model.vo.apply.*;
import com.dom.domweb.consumer.PurcOrderConsumer;
import org.apache.shiro.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.security.auth.Subject;

@Service
public class PurcOrderService extends AbstractApproveService{
    @Autowired
    private PurcOrderConsumer purcOrderConsumer;

    public String addPurcOrder(P030R request){

        return purcOrderConsumer.addPurcOrder(request);
    }

    public P039A findPurcOrderList(P039R request){
        return purcOrderConsumer.getPurcOrderList(request);
    }

    public P049A findPurcOrderDetail(P049R request) {
        return purcOrderConsumer.getPurcOrderDetailList(request);
    }

    public P032A editPurcOrder(P032R request){
        return purcOrderConsumer.editPurcOrder(request);
    }
}
